<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/7
 * Time: 15:46
 */

namespace app\api\model;


class Admin extends  BaseModel
{
    protected $hidden=[];
    //关联 Questionnaire 表 1对多
    public function  Aminquestionnaire(){
        return $this->hasMany('Questionnaire','admin_id',"id");
    }
   
}